from typing import Union

class Workbook:
    def __init__(self, filename: str): ...
    def add_worksheet(self) -> Worksheet: ...
    def close(self) -> None: ...

class Worksheet:
    def write(self, row_index: int, col_index: int, value: Union[float, str]) -> None: ...
